package com.example.demo.enable;

import com.example.demo.model.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yujie
 * @create 2018-04-27 下午4:47
 **/
@Configuration
public class UserConfig {


    @Bean
    public User user() {
        return new User();
    }
}
